﻿using UnityEngine;

public class PoolableItem : MonoBehaviour, IPoolable
{
    // This gets called as soon as the clone is spawned
    public virtual void OnSpawn()
    {
        Debug.Log(gameObject.name + " OnSpawn");
    }

    // This gets called just before the clone is despawned
    public virtual void OnDespawn()
    {
        Debug.Log(gameObject.name + " OnDespawn");
    }
}